package com.example.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * (Inventory)实体类
 *
 * @author makejava
 * @since 2024-03-21 17:18:23
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Inventory implements Serializable {
    private static final long serialVersionUID = -69776744586116343L;
    
    private Long id;
    
    private Long storeId;
    
    private Long productId;
    /**
     * 库存
     */
    private Integer productNum;
    /**
     * 生产日期
     */
    private LocalDateTime dateOfManufacture;
    /**
     * 保质期
     */
    private Integer shelfLife;
    /**
     * 0禁用1启用2已过期
     */
    private Integer status;

}

